import java.util.Scanner;

/**
 * @author Administrator
 */
public class Task02_11 {
    public static void main(String[] args) {
        System.out.println("请输入一个行数");
        Scanner row=new Scanner(System.in);
        int n=row.nextInt();
        for(int i=1;i<=n;i++){
            for(int j=1;j<=n-i;j++){
                System.out.print(" ");
            }
            for(int k=1;k<=2*i-1;k++){
                System.out.print("*");
            }
            System.out.println("");
        }

    }
}
